//
//  ITNetWorkRequestManager.h
//
//  Created by ITBE on 2016/12/15.
//  Copyright © 2016年 intube. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ITNetWorkManager.h"

@interface ITNetWorkRequestManager : NSObject
{
    UIAlertController *alertVC;
}

+(instancetype)shareManager;


/**goRequest 有 member验证  request 无验证*/
//-(NSURLSessionDataTask *)goRequest:(NSString *)uri method:(NSString*)method parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;

- (NSURLSessionDataTask *)request:(NSString *)uri method:(NSString *)method parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;

-(NSURLSessionDataTask *)get:(NSString *)uri parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;
-(NSURLSessionDataTask *)post:(NSString *)uri parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;
-(NSURLSessionDataTask *)put:(NSString *)uri parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;
-(NSURLSessionDataTask *)doDelete:(NSString *)uri parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;

-(void)uploadImage:(UIImage *)image uri:(NSString *)uri parameters:(id)parameters callback:(APIRequstCallBack)callback isNotify:(BOOL)isNotify;

@end
